import Vue from 'vue'
import Vuex from 'vuex'
import configure from './configure'
import user from './user'
import staff from './staff'
Vue.use(Vuex)

const store = new Vuex.Store({
  modules:{
    configure,
    user,
    staff
  },
  getters:{
    sConsumer:(state)=> state.configure.sConsumer,
    loginStatus:(state)=> state.configure.loginIn.status,
    logIn:(state)=> state.configure.loginIn.status,
  }
})

export default store
